﻿namespace DataIntegration.Triggers.Manual
{
    using Entities.Triggers;
    using Messaging.Publisher;

    public class ManualTrigger : Trigger
    {
        public ManualTrigger(string name, IPublisherFactory publisherFactory) 
            : base(name, publisherFactory)
        {
        }

        public void Fire()
        {
            this.InvokeFire(new TriggerInstruction());
        }

        protected override void StartTrigger()
        {
        }

        protected override void DisposeTrigger()
        {
        }
    }
}
